package com.study.model.mdao;

import java.util.HashMap;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.study.model.pojo.Inbound;

@Mapper
public interface InboundMapper {
	
	//查询入库单
	public List<Inbound> findAll();
	
	//新增入库单
	public void addInbound(HashMap map);
	
	//修改入库单
	public void editInbound(HashMap map);
	
	//删除入库单
	public void delInbound(String inbId);
	
	//入库类别查询
	public List<Inbound> findByintName(String intName);
	
	//查询记录数量
	public int findcount();
	
	//通过审核
	public void pass(String inbId);
	
	//根据编号和状态查询是否存在
	public int exit(HashMap map);
}
